5.3.3 APPX Application Design Manual

+ Chapter 1-1: Overview of Application Design
+ Chapter 1-2: Getting Started
+ Chapter 1-3: Data Dictionary
+ Chapter 1-4: Understanding Process Design
+ Chapter 1-5: Interprocess Communication
+ Chapter 1-6: Customizing Your Application
+ Chapter 1-7: The Documentation Facility
+ Chapter 1-8: Application Design Tools
+ Chapter 2-1: Data Dictionary Overview
+ Chapter 2-2: Data Dictionary Concepts
+ Chapter 2-3: Domains
- Chapter 2-4: Files and Fields
+ Chapter 2-5: Work Fields
+ Chapter 3-1: Overview of APPX Processes
+ Chapter 3-2: Getting Started
+ Chapter 3-3: Process Definition
+ Chapter 3-4: Menu Processes
+ Chapter 3-5: Job Processes
+ Chapter 3-6: Input Processes
+ Chapter 3-7: Output Processes
+ Chapter 3-8: Update Processes
+ Chapter 3-9: Query Processes
+ Chapter 3-10: Inquiry Processes
+ Chapter 3-11: Status Processes
+ Chapter 3-12: Subroutine Processes
+ Chapter 3-13: Table Processes
+ Chapter 3-14: Automatic and Optional Children
+ Chapter 3-15: Using the Image Editor
+ Chapter 3-16: Using GUI Features of the Image Editor
+ Chapter 3-17: Using Event Points
+ Chapter 4-1: ILF Integration
+ Chapter 4-2: True/False Status Indicators
+ Chapter 4-3: Specifying Statements
+ Chapter 4-4: The ILF Editor
+ Chapter 4-5: The Appx ILF Debugger
+ Chapter 4-6: ILF Keyword Reference
+ Chapter 4-7: Predefined Fields
+ Chapter 4-8: Runtime Subroutine's and Predefined Processes
+ Chapter 4-9: Appx Chart Director API

Chapter 2-4: Files and Fields

Fields Key Control Option


Key control accesses the fields Key Control overlay, shown below, from which you can define attributes about key fields. This option applies only to key fields (both primary and alternate) for indexed files. For non-key fields, this option is ignored unless a field is part of a group field that is itself a key to an indexed file. Upon completion, you are returned to the Fields screen.

Fields Key Control Overlay

The fields Key Control overlay contains the following fields:

Key Typeindicates whether or not a field is a key field and, if yes, the type of key. A group trailer field cannot be a key field. The Key Type options can be scanned and consist of:

PRIMARY key fields are the default key paths for a file. APPX requires one (and only one) primary key for each indexed file. All records can be accessed by a primary key path (must be unique).

ALTERNATE key fields optionally provide alternative key paths to a file. Duplicate values and up to 16 alternate keys are permitted in APPX.

ALTERNATE/UNIQUE key fields optionally provide alternative key paths to a file. Duplicate values are not allowed.

ALTERNATE/FORCED key fields are the same as ALTERNATE key fields except that duplicate keys are retreived in primary key order.

The default is blank.

Key/Field Order specifies the order of the key or key segment.

Maximum Key Size: The Primary Key can be up to 255 bytes in length. An Alternate Key can also be 255 bytes in length less the length of the Primary Key. Appx will throw an error while processing the data dictionary if any key in the file is greater than 255 bytes.

User Selectable? determines whether or not a user can switch to a key path with the Select Access Path option from within an input process. The User Selectable' options are 'yes' , a user can select the key path; or 'no' where a user cannot select the key path. Its use is restricted to internal access (statements). The default is 'yes'.

Application Design Manual                                         "Powered by Appx Software"

1013

©2006 By APPX Software, Inc. All Rights Reserved